/// bedId : 2411
/// bedNo : "301-B"
/// branchId : 6627
/// buildingId : 84
/// buildingNo : "1号楼"
/// createdBy : "5"
/// createdDate : "2024-05-29 20:16:43"
/// customerId : 7647
/// customerName : "陈菊君"
/// floorId : 183
/// floorNo : "1"
/// id : 6
/// roomId : 1792
/// roomNo : "301"
/// saasId : 1000
/// sex : 1
/// sexName : "女"
/// statusMasterId : 0
/// treatmentCard : "1111111111111"
/// updatedBy : "5"
/// updatedDate : "2024-05-29 20:16:40"

class MedicineElderListData {
  MedicineElderListData({
      this.bedId, 
      this.bedNo, 
      this.branchId, 
      this.buildingId, 
      this.buildingNo, 
      this.createdBy, 
      this.createdDate, 
      this.customerId, 
      this.customerName, 
      this.floorId, 
      this.floorNo, 
      this.id, 
      this.roomId, 
      this.roomNo, 
      this.saasId, 
      this.sex, 
      this.sexName, 
      this.statusMasterId, 
      this.treatmentCard, 
      this.updatedBy, 
      this.updatedDate,});

  MedicineElderListData.fromJson(dynamic json) {
    bedId = json['bedId'];
    bedNo = json['bedNo'];
    branchId = json['branchId'];
    buildingId = json['buildingId'];
    buildingNo = json['buildingNo'];
    createdBy = json['createdBy'];
    createdDate = json['createdDate'];
    customerId = json['customerId'];
    customerName = json['customerName'];
    floorId = json['floorId'];
    floorNo = json['floorNo'];
    id = json['id'];
    roomId = json['roomId'];
    roomNo = json['roomNo'];
    saasId = json['saasId'];
    sex = json['sex'];
    sexName = json['sexName'];
    statusMasterId = json['statusMasterId'];
    treatmentCard = json['treatmentCard'];
    updatedBy = json['updatedBy'];
    updatedDate = json['updatedDate'];
  }
  num? bedId;
  String? bedNo;
  num? branchId;
  num? buildingId;
  String? buildingNo;
  String? createdBy;
  String? createdDate;
  num? customerId;
  String? customerName;
  num? floorId;
  String? floorNo;
  num? id;
  num? roomId;
  String? roomNo;
  num? saasId;
  num? sex;
  String? sexName;
  num? statusMasterId;
  String? treatmentCard;
  String? updatedBy;
  String? updatedDate;
MedicineElderListData copyWith({  num? bedId,
  String? bedNo,
  num? branchId,
  num? buildingId,
  String? buildingNo,
  String? createdBy,
  String? createdDate,
  num? customerId,
  String? customerName,
  num? floorId,
  String? floorNo,
  num? id,
  num? roomId,
  String? roomNo,
  num? saasId,
  num? sex,
  String? sexName,
  num? statusMasterId,
  String? treatmentCard,
  String? updatedBy,
  String? updatedDate,
}) => MedicineElderListData(  bedId: bedId ?? this.bedId,
  bedNo: bedNo ?? this.bedNo,
  branchId: branchId ?? this.branchId,
  buildingId: buildingId ?? this.buildingId,
  buildingNo: buildingNo ?? this.buildingNo,
  createdBy: createdBy ?? this.createdBy,
  createdDate: createdDate ?? this.createdDate,
  customerId: customerId ?? this.customerId,
  customerName: customerName ?? this.customerName,
  floorId: floorId ?? this.floorId,
  floorNo: floorNo ?? this.floorNo,
  id: id ?? this.id,
  roomId: roomId ?? this.roomId,
  roomNo: roomNo ?? this.roomNo,
  saasId: saasId ?? this.saasId,
  sex: sex ?? this.sex,
  sexName: sexName ?? this.sexName,
  statusMasterId: statusMasterId ?? this.statusMasterId,
  treatmentCard: treatmentCard ?? this.treatmentCard,
  updatedBy: updatedBy ?? this.updatedBy,
  updatedDate: updatedDate ?? this.updatedDate,
);
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['bedId'] = bedId;
    map['bedNo'] = bedNo;
    map['branchId'] = branchId;
    map['buildingId'] = buildingId;
    map['buildingNo'] = buildingNo;
    map['createdBy'] = createdBy;
    map['createdDate'] = createdDate;
    map['customerId'] = customerId;
    map['customerName'] = customerName;
    map['floorId'] = floorId;
    map['floorNo'] = floorNo;
    map['id'] = id;
    map['roomId'] = roomId;
    map['roomNo'] = roomNo;
    map['saasId'] = saasId;
    map['sex'] = sex;
    map['sexName'] = sexName;
    map['statusMasterId'] = statusMasterId;
    map['treatmentCard'] = treatmentCard;
    map['updatedBy'] = updatedBy;
    map['updatedDate'] = updatedDate;
    return map;
  }

}